Skip to content

ci(proofs): weekly schedule so the proof gate re-checks main for drift#257

Merged
hyperpolymath merged 1 commit into
mainfrom
ci/proof-gate-weekly-baseline
Jun 25, 2026
Merged

ci(proofs): weekly schedule so the proof gate re-checks main for drift#257
hyperpolymath merged 1 commit into
mainfrom
ci/proof-gate-weekly-baseline

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

The Proofs Gate is path-filtered (the changes job skips the heavy Idris2 type-check unless a PR/push touches src/abi/** etc.), so a proof break already in main is never re-detected — off-path PRs skip the typecheck and it reports success.

This adds a weekly schedule trigger; on a schedule event the detect step leaves run=true, so the full core + every-cartridge type-check runs unconditionally against main and catches drift.

Motivated by the duplicate allTake in SafetyLemmas.idr that sat in main with a green gate (fixed in #256).

🤖 Generated with Claude Code

The Proofs Gate is path-filtered: the `changes` job skips the heavy
type-check unless a PR/push touches src/abi/**, cartridges/**/abi, etc.
A break already in main (merged before this gate existed, or via a path
the filter ignores) is therefore never re-detected — every off-path PR's
typecheck job is skipped and reports success to the required check.

Add a weekly `schedule` trigger. On a schedule event the detect step
leaves run=true (its default), so the full core + every-cartridge Idris2
type-check runs unconditionally against main and catches proof drift.

Motivated by a duplicate `allTake` definition that sat in
src/abi/Boj/SafetyLemmas.idr on main with a green gate (fixed separately).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@hyperpolymath hyperpolymath force-pushed the ci/proof-gate-weekly-baseline branch from 07b6321 to 2d7231e Compare June 25, 2026 09:18
@hyperpolymath hyperpolymath merged commit 6d876b4 into main Jun 25, 2026
13 checks passed
@hyperpolymath hyperpolymath deleted the ci/proof-gate-weekly-baseline branch June 25, 2026 09:19
@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 221 issues detected

Severity Count
🔴 Critical 15
🟠 High 129
🟡 Medium 77

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Action actions/checkout@v4 needs attention",
    "type": "unpinned_action",
    "file": "pages-deploy.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in pages-deploy.yml",
    "type": "missing_timeout_minutes",
    "file": "pages-deploy.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in push-email-notify.yml",
    "type": "missing_timeout_minutes",
    "file": "push-email-notify.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in scorecard-enforcer.yml",
    "type": "missing_timeout_minutes",
    "file": "scorecard-enforcer.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in scorecard-enforcer.yml",
    "type": "scorecard_publish_with_run_step",
    "file": "scorecard-enforcer.yml",
    "action": "split_scorecard_publish_job",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in instant-sync.yml",
    "type": "secret_action_without_presence_gate",
    "file": "instant-sync.yml",
    "action": "peter-evans/repository-dispatch",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in codeql.yml",
    "type": "codeql_missing_actions_language",
    "file": "codeql.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "TypeScript file detected -- banned language",
    "type": "banned_language_file",
    "file": "/home/runner/work/boj-server/boj-server/cartridges/academic-workflow-mcp/adapter/mod.ts",
    "action": "flag",
    "rule_module": "cicd_rules",
    "severity": "critical"
  },
  {
    "reason": "TypeScript file detected -- banned language",
    "type": "banned_language_file",
    "file": "/home/runner/work/boj-server/boj-server/cartridges/ephapax-mcp/adapter/mod.ts",
    "action": "flag",
    "rule_module": "cicd_rules",
    "severity": "critical"
  },
  {
    "reason": "TypeScript file detected -- banned language",
    "type": "banned_language_file",
    "file": "/home/runner/work/boj-server/boj-server/cartridges/bofig-mcp/adapter/mod.ts",
    "action": "flag",
    "rule_module": "cicd_rules",
    "severity": "critical"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant